from tortoise import fields
from tortoise.models import Model

#https://www.cnblogs.com/liuzhongkun/p/16777043.html
#https://blog.csdn.net/weixin_54217348/article/details/136772215

class Book(Model):
    id = fields.IntField(primary_key=True)
    name = fields.TextField()
    create = fields.DateField()

    _meta = 'book'
